Skip to content

frontend migration foundation and dev stack cleanup#39

Open
LeiShi1313 wants to merge 50 commits into
developfrom
feature/migrate-frontend-to-shadcn
Open

frontend migration foundation and dev stack cleanup#39
LeiShi1313 wants to merge 50 commits into
developfrom
feature/migrate-frontend-to-shadcn

Conversation

@LeiShi1313

Copy link
Copy Markdown
Contributor

Summary

  • add frontend migration and design-system planning docs already on this branch
  • align the committed dev stack and repo docs with the active proxy port
  • stop tracking local .env files and ignore local screenshots

Notes

  • intentionally excludes the current frontend submodule workspace drift
  • local-only tool directories remain uncommitted

Update backend and frontend submodules:
- Backend: source-driven binary acquisition, contract-direct deploys,
  built-in contracts, new resources and orchestrator methods
- Frontend: app catalog tab in deploy modal, contract title in list
Add Design Context section covering users, brand personality, aesthetic
direction, design principles, and design system details. Update frontend
submodule to include extracted shared UI components (PageHeader,
ModalShell, EmptyState).
Full-stack rename of the "executable contract" abstraction to
"service definition" — DB tables, backend models/schemas/GraphQL/tasks,
frontend components/queries/routes/i18n, and documentation.

Updates backend and frontend submodules.
- Add port_id FK to server_deployment with partial unique index
- Add requiresPort field to service definition schema (default true)
- Inject {{port}} context variable in compile_service_preview
- Add availablePortsForDeployment GraphQL query with role-based access
- Accept portId in deploy mutations with validation
- Pass port context to Huey deployment tasks
- Expose port field on ServerDeploymentType
- Add port selector dropdown to DeployModal
- Show port info on deployment list and detail views
Update submodules with:
- Backend: publish isOnline=false on SSH failure
- Frontend: derive status from metric subscription, fix lastSeen parsing
- Replace dual nginx with nginxproxy/nginx-proxy (virtual host routing)
- Switch postgres to timescale/timescaledb for TimescaleDB extension
- Add healthchecks on postgres and redis, use depends_on conditions
- Remove manual tcp wait loop from backend command
- Route nginx to frontend:5173 instead of frontend-old:3000
- Expose on port 8080, adminer via VIRTUAL_HOST instead of port
Backend merges deployExecutable into deployService mutation.
LeiShi1313 and others added 20 commits March 24, 2026 10:30
Full frontend migration plan: DaisyUI to shadcn/ui, JS to TypeScript,
React 18 to 19, Redux removal, and service editor refactor.
Fix critical issues: theme architecture (multi-theme CSS class + .dark
variant), classnames->cn() migration plan, generated types relocation.

Add important items: react-helmet->react-helmet-async, notification
system as cross-cutting Redux concern, websocket manager fate, custom
breakpoint preservation, apis/ directory handling, Vite plugin decision,
framer-motion + react-hook-form retention, shared component phasing.
25 tasks across 5 phases: Foundation (TS + CSS + component library),
Phase 1 (core shell + shared infra), Phases 2-4 (incremental feature
migration), Phase 5 (cleanup). Addresses review feedback on file paths,
react-loading replacement, codegen.yml, and Redux dependencies.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 tasks covering foundation, layout, 5 page waves, and cleanup.
Also fixes component count (56, not 58) in both spec and plan.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 tasks: font, layout bg-muted, shared patterns, ServerContainer fix,
ServerList table-in-card rewrite, ServerInfoModal restyle, visual verification.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant